package com.atguigu.book.dao;

import com.atguigu.book.pojo.Book;

import java.util.List;

/**
 * @InterfaceName: BookDAO
 * @Description:
 * @Author: wty
 * @Date: 2022/12/12
 */

public interface BookDAO {
    /**
     * @param
     * @return java.util.List<com.atguigu.book.pojo.Book>
     * @description //分页查询
     * @param: minPrince
     * @param: maxPrice
     * @param: pageNo
     * @date 2022/12/12 23:09
     * @author wty
     **/
    List<Book> getBookList(Integer minPrince, Integer maxPrice, Integer pageNo);

    /**
     * @param
     * @return com.atguigu.book.pojo.Book
     * @description 根据bookId获取book的详细信息
     * @param: id
     * @date 2022/12/13 18:03
     * @author wty
     **/
    public Book getBook(Integer id);
}
